// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CannotApplyEqualityOperatorAttribute.cs" company="CSLib.Net Team">
//   Copyright (c) Roman "4ux-nbIx" Novitsky 2010
// </copyright>
// <summary>
//   Indicates that the value of marked type (or its derivatives) cannot be compared using '==' or '!=' operators.
//   There is only exception to compare with null, it is permitted.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CSLib.Net.Annotations
{
  #region Namespace Imports

  using System;

  #endregion


  /// <summary>
  /// Indicates that the value of marked type (or its derivatives) cannot be compared using '==' or '!=' operators.
  /// There is only exception to compare with <c>null</c>, it is permitted.
  /// </summary>
  [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, 
    Inherited = true)]
  public sealed class CannotApplyEqualityOperatorAttribute : Attribute
  {
  }
}